package com.eascs.admin.o2o.backfee.form;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

public class ComBackFeeForm {
	
	private String loanapplyNo;
	//@NotNull(message="退费类型不能为空")
	private String backType;
	
	@NotNull(message="退还开户银行不能为空")
	private String bankName;

	public static String TYPE_SAVEANDSTART = "SAVEANDSTART";

	private BigDecimal backMoney;
	@NotNull(message="应退风险补偿金金额不能为空")
	private BigDecimal backRisk;  //退风险补偿金金额
	@NotNull(message="应退管理费金额不能为空")
	private BigDecimal backManger; //退管理费金额
	@NotNull(message="应退保证金金额不能为空")
	private BigDecimal backDeposite; //退保证金金额
	
	//@NotNull(message="开户银行地址不能为空")
	private String bankAddr;
	
	@NotNull(message="退还账号不能为空")
	private String bankAccount;
	
	//@NotEmpty(message="币种")
	//@NotEmpty(message="付款类型不能为空")
	private String payType;
	
	@NotNull(message="付费方式不能为空")
	private String payMode;
	
	@NotNull(message="要求付款日期不能为空")
	private String requiredDate;
	
	@NotNull(message="退费原因不能为空")
	private String payRemark;

	private String type; // 用于区分保存和保存并启动
	
	public String getLoanapplyNo() {
		return loanapplyNo;
	}

	public void setLoanapplyNo(String loanapplyNo) {
		this.loanapplyNo = loanapplyNo;
	}

	public String getBackType() {
		return backType;
	}

	public void setBackType(String backType) {
		this.backType = backType;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public BigDecimal getBackMoney() {
		return backMoney;
	}

	public void setBackMoney(BigDecimal backMoney) {
		this.backMoney = backMoney;
	}

	public String getBankAddr() {
		return bankAddr;
	}

	public void setBankAddr(String bankAddr) {
		this.bankAddr = bankAddr;
	}

	public String getBankAccount() {
		return bankAccount;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getPayMode() {
		return payMode;
	}

	public void setPayMode(String payMode) {
		this.payMode = payMode;
	}

	public String getRequiredDate() {
		return requiredDate;
	}

	public void setRequiredDate(String requiredDate) {
		this.requiredDate = requiredDate;
	}

	public String getPayRemark() {
		return payRemark;
	}

	public void setPayRemark(String payRemark) {
		this.payRemark = payRemark;
	}

	public BigDecimal getBackRisk() {
		return backRisk;
	}

	public void setBackRisk(BigDecimal backRisk) {
		this.backRisk = backRisk;
	}

	public BigDecimal getBackManger() {
		return backManger;
	}

	public void setBackManger(BigDecimal backManger) {
		this.backManger = backManger;
	}

	public BigDecimal getBackDeposite() {
		return backDeposite;
	}

	public void setBackDeposite(BigDecimal backDeposite) {
		this.backDeposite = backDeposite;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
